package com.qingdai.emuns;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.*;

/**
 * <p>
 * 
 * </p>
 *
 * @author LiuZiMing
 * @since 2024-01-26
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user__role")
@Schema(description = "角色")
public class Role implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    @Schema(description = "id")
    private Integer id;

    @TableField("name")
    @Schema(description = "名称")
    private String name;

    @TableField("remark")
    @Schema(description = "备注")
    private String remark;
}
